package com.shangxian.giveithome.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 信息完善表
 */
@Data
public class UserPerfect {

    /**
     * id
     */
    @JsonIgnore
    private Long id;


    /**
     * 微信号码
     */
    private String wechat = "";


    /**
     * 常住地址
     */
    @Length(max = 128, message = "地址不能超过128个字符")
    private String address = "";


    /**
     * 性别
     */
    private String sex = "";
}
